package com.lmx.repoDomain.tmodel;

import com.lmx.repoDomain.tmodel.business.User;

import io.katharsis.resource.annotations.JsonApiIncludeByDefault;
import io.katharsis.resource.annotations.JsonApiResource;
import io.katharsis.resource.annotations.JsonApiToOne;

/**
 * 用于拆分用药计划时间在移动端显示
 */
@JsonApiResource(type = "customerdrugprojectitem")
public class CustomerDrugProjectItem extends BaseEntity {
	private String remark;// 备注

	private User lastUpdateUser;// 更新操作者userid

	private Integer createDateTime;// 创建时间

	private User createUser;

	private Integer lastUpdateDateTime;// 更新时间

	private CustomerDrugProject project;

	private String useDrugDate;// 用药时间

	private Double useDrugNum;// 用药数量

	private Dicttype assistType;// 协助类型

	private Dicttype useDrugSpec;// 用药规格

	private String useDrugWay;// 用药方法

	private Integer useDrugFreq;// 频次

	public Integer getUseDrugFreq() {
		return useDrugFreq;
	}

	public void setUseDrugFreq(Integer useDrugFreq) {
		this.useDrugFreq = useDrugFreq;
	}

	public String getUseDrugWay() {
		return useDrugWay;
	}

	public void setUseDrugWay(String useDrugWay) {
		this.useDrugWay = useDrugWay;
	}

	@JsonApiToOne
	@JsonApiIncludeByDefault
	public Dicttype getUseDrugSpec() {
		return useDrugSpec;
	}

	public void setUseDrugSpec(Dicttype drugSpec) {
		this.useDrugSpec = drugSpec;
	}

	@JsonApiToOne
	@JsonApiIncludeByDefault
	public Dicttype getAssistType() {
		return assistType;
	}

	public void setAssistType(Dicttype assistType) {
		this.assistType = assistType;
	}

	public Double getUseDrugNum() {
		return useDrugNum;
	}

	public void setUseDrugNum(Double useDrugNum) {
		this.useDrugNum = useDrugNum;
	}

	@JsonApiToOne
	@JsonApiIncludeByDefault
	public CustomerDrugProject getProject() {
		return project;
	}

	public void setProject(CustomerDrugProject project) {
		this.project = project;
	}

	public String getUseDrugDate() {
		return useDrugDate;
	}

	public void setUseDrugDate(String useDrugDate) {
		this.useDrugDate = useDrugDate;
	}

	public CustomerDrugProjectItem() {

	}

	public Integer getCreateDateTime() {
		return createDateTime;
	}

	public void setCreateDateTime(Integer createDateTime) {
		this.createDateTime = createDateTime;
	}

	public Integer getLastUpdateDateTime() {
		return lastUpdateDateTime;
	}

	public void setLastUpdateDateTime(Integer lastUpdateDateTime) {
		this.lastUpdateDateTime = lastUpdateDateTime;
	}

	@JsonApiToOne
	public User getCreateUser() {
		return createUser;
	}

	public void setCreateUser(User createUser) {
		this.createUser = createUser;
	}

	@JsonApiToOne
	public User getLastUpdateUser() {
		return lastUpdateUser;
	}

	public void setLastUpdateUser(User lastUpdateUser) {
		this.lastUpdateUser = lastUpdateUser;
	}

	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}
}
